package com.erb.mapper;

import com.erb.entity.Pager;
import com.erb.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdminUserMapper {
	List<User> selectAll();

	List<User> selectAllForSimpleList(@Param("pager") Pager pager);

	User findUser(@Param("id") Integer id);

	int selectCount();

	int deleteUser(@Param("id") Integer id);
}
